<table class="table table-condensed" id="th_ajaran">
  <thead>
	<tr>
		<th>#</th>
		<th>Nama Subsidi</th>
		<th>Instansi Pemberi</th>
		<th>Besar Subsidi</th>
		<th>Tgl. Terima</th>
		<th>Keterangan</th>								
	</tr>
  </thead>
  <tbody>
	<?php 
		if(count($list)>0){
			$i = 1; 
			foreach ($list as $row) {
	?>
	<tr class="hover kursor">
		<td width="30"><?php echo $i++ ?></td>
		<td><?php echo $row->nama_subsidi; ?></td>
		<td><?php echo $row->instansi; ?></td>
		<td><?php echo formatRupiahTabel($row->total_subsidi); ?></td>
		<td><?php echo $row->tgl_terima; ?></td>
		<td>
			<?php echo $row->ket; ?>
			<a class="editorLink pull-right" data-reveal-id="delModal" nama="<?php echo $row->nama_subsidi; ?>" 2nd="<?php echo $row->instansi; ?>" 3rd="<?php echo formatRupiah($row->total_subsidi); ?>" hpid="<?php echo $row->id_a_subsidi;?>" data-reveal><span class="glyphicon glyphicon-floppy-remove"></span></a>
		</td> 
	</tr>
	<?php
			}
		}else{
	?>
	<tr>
		<td colspan="6"><center>Belum ada pengaturan subsidi</center></td>
	</tr>
	<?php
		}
	?>
  </tbody>
</table>